package com.sen.patterns.structural.decorator.ex3;

public class ScrollDecorator extends Decorator {
	private int size;
	
	public ScrollDecorator(VisualComponent component, int size) {
		super(component);
		this.size = size;
	}
	
	public void draw() {
		scroll();
		super.draw();
	}
	
	public void scroll() {
		System.out.println("ScrollDecorator scroll...");
	}
}
